#ifndef THREADFUNCTIONDATABASE_H_
#define THREADFUNCTIONDATABASE_H_



#include <iostream>
#include <ctime>

#include <boost/thread/mutex.hpp>


class ThreadFunctionDatabase{
public:
	static void * downloadInit(void *);
	static void * manageDownloaderQueues(void *);
	static void * getDomainRobots(void *);
	
//	static void setNumPaginas(int _numP){ numPaginas = _numP;};
//	static long long getNumPaginas () {return (long long)(numPaginas);}
	
	static void setSyncLifeThread(time_t tempo){ syncLifeThread = tempo; };
	static time_t getSyncLifeThread() { return syncLifeThread; }
	
//	
//	static int getNumThreadsRobots(void){ return numThreadsRobots; }
//	static void incNumThreadsRobots(void){ 	numThreadsRobots++; }

private:
	static int numPaginas;
//	static int numThreadsRobots;
//	static int maxNumThreadsRobots;
	static boost::mutex numPaginasMutex;
	static time_t syncLifeThread;
};


#endif /*THREADFUNCTIONDATABASE_H_*/
